package com.example.hxds.bff.customer.service;

import com.example.hxds.bff.customer.controller.form.*;
import com.example.hxds.common.util.PageUtils;
import com.example.hxds.common.util.R;
import org.springframework.web.bind.annotation.PostMapping;

import java.util.HashMap;

/**
 * @Author XUYANG
 * @Date 2024-03-19 13:53
 */

public interface OrderService {
    public HashMap createNewOrder(CreateNewOrderForm form);
    public Integer searchOrderStatus(SearchOrderStatusForm form);
    public String deleteUnAcceptOrder(DeleteUnAcceptOrderForm form);
    public HashMap hasCustomerCurrentOrder(HasCustomerCurrentOrderForm form);
    public boolean confirmArriveStartPlace(ConfirmArriveStartPlaceForm form);
    public HashMap searchOrderById(SearchOrderByIdForm form);
    public HashMap searchOrderForMoveById(SearchOrderForMoveByIdForm form);
    public HashMap createWxPayment(long orderId,long customerId,Long customerVoucherId,Long voucherId);
    public String updateOrderAboutPayment(UpdateOrderAboutPaymentForm form);
    public PageUtils searchCustomerOrderByPage(SearchCustomerOrderByPageForm form);
}
